


def tupleListToDict(tupleList:list[tuple], fieldStr:str):
    dictList=[]
    fieldList=fieldStr.split(',')
    for t in tupleList:
        theDict = {}
        for i,item in enumerate(fieldList):
            theDict[item] = t[i]
        dictList.append(theDict)
    return dictList